package com.haihui.platform.service.impl.sys;

import com.haihui.platform.dao.sys.CommAreaDao;
import com.haihui.platform.entity.CommArea;
import com.haihui.platform.service.sys.CommAreaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by HaiHui on 2017/10/17.
 */
@Service
public class CommAreaServiceImpl implements CommAreaService {
    @Autowired
    CommAreaDao areaDao;
    public List<CommArea> townList() {
        CommArea area = new CommArea();
        area.setXingzhengBianhao("371326");
        return areaDao.townList(area);
    }
}
